using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN PhanCongGiangDayEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: PhanCongGiangDayEntity</para>
	/// <para>Description: ClassPhanCongGiangDayEntity store data of table PhanCongGiangDay</para>
	///</summary>

	[DataContract]
	public partial class PhanCongGiangDayEntity{


		private bool _InternalChangedIsNullPhanCongGiangDay_ID=true;
		private bool _IsNullPhanCongGiangDay_ID=true;
		private bool _InternalChangedIsNullGiaoVien_ID=true;
		private bool _IsNullGiaoVien_ID=true;
		private bool _InternalChangedIsNullMonHoc_ID=true;
		private bool _IsNullMonHoc_ID=true;
		private bool _InternalChangedIsNullSucGiang=true;
		private bool _IsNullSucGiang=true;
		private int _PhanCongGiangDay_ID;
		private int _GiaoVien_ID;
		private int _MonHoc_ID;
		private int _SucGiang;
		[DataMember]
		public bool IsNullPhanCongGiangDay_ID{
			get{return _IsNullPhanCongGiangDay_ID;}
			set{if(!_InternalChangedIsNullPhanCongGiangDay_ID)_IsNullPhanCongGiangDay_ID=value;}
		}
		[DataMember]
		public bool IsNullGiaoVien_ID{
			get{return _IsNullGiaoVien_ID;}
			set{if(!_InternalChangedIsNullGiaoVien_ID)_IsNullGiaoVien_ID=value;}
		}
		[DataMember]
		public bool IsNullMonHoc_ID{
			get{return _IsNullMonHoc_ID;}
			set{if(!_InternalChangedIsNullMonHoc_ID)_IsNullMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullSucGiang{
			get{return _IsNullSucGiang;}
			set{if(!_InternalChangedIsNullSucGiang)_IsNullSucGiang=value;}
		}
		[DataMember]
		public int PhanCongGiangDay_ID{
			get{return _PhanCongGiangDay_ID;}
			set{
				_PhanCongGiangDay_ID=value;
				if(_PhanCongGiangDay_ID!=null){
					_IsNullPhanCongGiangDay_ID=false;
					_InternalChangedIsNullPhanCongGiangDay_ID=true;
				}
			}
		}
		[DataMember]
		public int GiaoVien_ID{
			get{return _GiaoVien_ID;}
			set{
				_GiaoVien_ID=value;
				if(_GiaoVien_ID!=null){
					_IsNullGiaoVien_ID=false;
					_InternalChangedIsNullGiaoVien_ID=true;
				}
			}
		}
		[DataMember]
		public int MonHoc_ID{
			get{return _MonHoc_ID;}
			set{
				_MonHoc_ID=value;
				if(_MonHoc_ID!=null){
					_IsNullMonHoc_ID=false;
					_InternalChangedIsNullMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int SucGiang{
			get{return _SucGiang;}
			set{
				_SucGiang=value;
				if(_SucGiang!=null){
					_IsNullSucGiang=false;
					_InternalChangedIsNullSucGiang=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END PhanCongGiangDayEntityBase*****************************************/
	/*****************************************************************************************************/
}

